package com.itany.corejava.code08_常用类.枚举;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月15日 15:49
 */
public class Sport {
    private String name;
    // private String season;
    private Season season;

    public Sport(String name, Season season) {
        this.name = name;
        this.season = season;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Season getSeason() {
        return season;
    }

    public void setSeason(Season season) {
        this.season = season;
    }

    @Override
    public String toString() {
        return "Sport{" +
                "name='" + name + '\'' +
                ", season=" + season +
                '}';
    }
}
